package com.lzq.ioc.human;

import com.lzq.ioc.car.Car;

public class ZhangSan extends HumanCar {

    public ZhangSan(Car car) {
        super(car);
    }

    @Override
    public void goHome() {
        System.out.println("张三去回家了");
        car.start();
        car.stop();
    }
}
